<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta http-equiv="X-UA-Compatible" content="IE=8">
		<title>我的收藏</title>
		<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css">
		<link rel="stylesheet" href="../../layui/css/layui.css">
		<link rel="stylesheet" href="../../css/swiper.min.css">
		<link rel="stylesheet" href="../../css/default.css">
		<link rel="stylesheet" href="../../css/common.css">
		<link rel="stylesheet" href="../../css/style.css">
		<link rel="stylesheet" type="text/css" href="css/my_favorite.css" />
	</head>

	<body>
		<div class="top_header_wrap"></div>
		<!--#include file="../common/header.html" -->
		<!--广告-->
		<div class="banner">
			<div class="swiper-container swiper-container1">
				<div class="swiper-wrapper">
					<div class="swiper-slide"><img src="../../img/banner.jpg"></div>
					<div class="swiper-slide"><img src="../../img/banner.jpg"></div>
					<div class="swiper-slide"><img src="../../img/banner.jpg"></div>
				</div>
				<!-- Add Pagination -->
				<div class="swiper-pagination"></div>
			</div>
		</div>
		<!--内容-->
		<div class="main_container">
			<!-- 标题 -->
			<div class="main_title layui-row">
				<div class="layui-col-md2 layui-col-xs2">&nbsp;</div>
				<div class="main_text layui-col-md4 layui-col-xs8">个人中心&gt;我的收藏</div>
			</div>
			<!-- 内容 -->
			<div class="main_content layui-row">
				<div class="content1 layui-col-md2 layui-col-xs2">&nbsp;</div>
				<div class="content2 layui-col-md8 layui-col-xs8">
					<div class="content_list" id="collect_list">
						<div class="list list1 layui-row">
							<div class="list_img">
								<img class="" src="../../img/news01.jpg">
							</div>
							<div class="list_subhead layui-col-md11 layui-col-xs11">西安邮电大学 — 2019年招生计划</div>
							<div class="list_time">
								<div class="list_year">2019/6/23</div>
								<div class="list_mouth">08:20</div>
							</div>
						</div>
						<div class="list list2">
							<div class="list_img">
								<img src="../../img/news01.jpg">
							</div>
							<div class="list_subhead layui-col-md11 layui-col-xs11">西安师范大学 — 机械设计制造及其自动化专业招生计划</div>
							<div class="list_time">
								<div class="list_year">2019/6/23</div>
								<div class="list_mouth">08:20</div>
							</div>
						</div>
						<div class="list list3">
							<div class="seniority layui-col-md11 layui-col-xs11">
								<div class="list_img">
									<img src="../../img/news01.jpg">
								</div>
								<div class="list_subhead">陕西电…大学</div>
								<div class="list_img">
									<img src="../../img/news01.jpg">
								</div>
								<div class="list_subhead">西安师范大学</div>
								<div class="list_img">
									<img src="../../img/news01.jpg">
								</div>
								<div class="list_subhead">西安邮电大学</div>
								<div class="major">信息技术工程专业</div>
							</div>
							<div class="list_time">
								<div class="list_year">2019/6/23</div>
								<div class="list_mouth">08:20</div>
							</div>
						</div>
						<div class="list list4 layui-row">
							<div class="list_img">
								<img src="../../img/news01.jpg">
							</div>
							<div class="list_subhead layui-col-md11 layui-col-xs11">西安师范大学2016～2018年学校录取线</div>
							<div class="list_time">
								<div class="list_year">2019/6/23</div>
								<div class="list_mouth">08:20</div>
							</div>
						</div>
						<div class="list list5 layui-row">
							<div class="list_img">
								<img src="../../img/news01.jpg">
							</div>
							<div class="list_subhead layui-col-md11 layui-col-xs11">西安邮电大学 — 信息技术工程专业</div>
							<div class="list_time">
								<div class="list_year">2019/6/23</div>
								<div class="list_mouth">08:20</div>
							</div>
						</div>
						<div class="list list6 layui-row">
							<div class="list_img">
								<img src="../../img/news01.jpg">
							</div>
							<div class="list_subhead layui-col-md11 layui-col-xs11">青海大学2016～2018年应用英语专业录取线及学校历届录取线</div>
							<div class="list_time">
								<div class="list_year">2019/6/23</div>
								<div class="list_mouth">08:20</div>
							</div>
						</div>
					</div>
				</div>
				<div class="content3 layui-col-md2 layui-col-xs2">&nbsp;</div>
			</div>
		</div>
		<!--尾部-->
		<div class="footer_container">

		</div>
		</div>
		<!-- js -->
		<script src="../../js/jquery-1.11.0.min.js"></script>
		<script src="../../layui/lay/modules/layer.js"></script>
		<script type="text/javascript" src="../../js/swiper.min.js"></script>
		<script type="text/javascript" src="../../bootstrap/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="../../js/cookieUtils.js"></script>
		<script>
			$(document).ready(function() {
				$(".top_header_wrap").load("../common/header.html")
				$(".footer_container").load("../common/footer.html")
				var userId = GetCookie("userId");
				$.ajax({
					type: "get",
					url: "http://47.111.188.27:8080/gsgkzyl/mine/collection/list/1/4/1d00e80c760a11e9beaf0c96e6d7103a",
					success: function(col) {
						$('#collect_list').empty();
						var data = col.data.list;
						if(data != null && data != "" && data != "{}" && data != "[]") {
							var collectHtml = '';
							for(var i = 0; i < data.length; i++) {

								collectHtml += '<div class="list list1 layui-row">';
								collectHtml += '<div class="list_img">';
								collectHtml += '<img class="" src="../../img/news01.jpg" >';
								collectHtml += '</div>';
								collectHtml += '<div class="list_subhead layui-col-md11 layui-col-xs11">'+data[i].collection_showname+'</div>';
								collectHtml += '<div class="list_time">';
								collectHtml += '<div class="list_year">'+data[i].collection_time+'</div>';
								collectHtml += '</div>';
								collectHtml += '</div>';
							}
							$('#collect_list').html(collectHtml)
						}else{
							$('#collect_list').html('暂无数据')
						}
					}
				});
			})
		</script>
	</body>

</html>